package com.atguigu.gmall.weball.hahtest;

import lombok.Data;

import javax.servlet.*;
import java.io.IOException;

@Data
public class Color {
    private String name;
    private String rgb;
}

class JavaWebFilter implements Filter {

    @Override
    public void doFilter(ServletRequest servletRequest,
                         ServletResponse servletResponse,
                         FilterChain filterChain) throws IOException, ServletException {

        //放行
        ServletRequest req = servletRequest;
        filterChain.doFilter(req,servletResponse);
    }
}
